package com.dgut.Service;

import com.dgut.domain.PurchaseRecord;

import java.util.List;

public interface IPurchaseRcdService {

    //查询所有记录所有字段
    List<PurchaseRecord> findAll();

    //分页 查询所有记录所有字段
    List<PurchaseRecord> findAllLimit(PurchaseRecord purchaseRecord);

    //查询记录总数
    Integer findAllCount(PurchaseRecord purchaseRecord);

    //通过id 查询对应记录
    List<PurchaseRecord> findById(String id);


    //保存插入记录信息
    Integer savePurchaseRecord(PurchaseRecord purchaseRecord);

    //根据id删除记录
    Integer deletePurchaseRecord(String id);
}
